# == Schema Information
#
# Table name: base_users
#
#  id               :integer          not null, primary key
#  name_cn          :string(255)
#  gender           :boolean
#  username         :string(255)
#  password         :string(255)
#  active           :boolean
#  branch_office_id :integer
#  department_id    :integer
#  email            :string(255)
#  mobile           :string(255)
#  last_login_at    :datetime
#  leave_time       :date
#  phone_ext        :string(255)
#  created_at       :datetime         not null
#  updated_at       :datetime         not null
#

FactoryGirl.define do
  factory :base_user, class: 'Base::User' do
    name_cn "MyString"
    gender false
    username "MyString"
    password "MyString"
    active false
    branch_office_id 1
    department_id 1
    email "MyString"
    mobile "MyString"
    last_login_at "2017-06-26 15:54:06"
    leave_time "2017-06-26"
    phone_ext "MyString"
  end
end
